home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / answers / macintosh / comm-faq / part1 next >
Encoding:
Internet Message Format  |  1993-06-05  |  33.1 KB

  1. Path: senator-bedfellow.mit.edu!enterpoop.mit.edu!gatech!europa.eng.gtefsd.com!darwin.sura.net!math.ohio-state.edu!usc!elroy.jpl.nasa.gov!ames!olivea!hal.com!darkstar.UCSC.EDU!eric
  2. From: eric@cse.ucsc.edu (Eric C. Rosen)
  3. Newsgroups: comp.sys.mac.comm,news.answers,comp.answers
  4. Subject: comp.sys.mac.comm Frequently Asked Questions [1/4]
  5. Supersedes: <csmc-FAQ1_736829336@darkstar.ucsc.edu>
  6. Followup-To: poster
  7. Date: 6 Jun 1993 01:05:49 GMT
  8. Organization: University of California, Santa Cruz (CE/CIS Boards)
  9. Lines: 661
  10. Sender: eric@cse.ucsc.edu
  11. Approved: news-answers-request@MIT.Edu
  12. Distribution: world
  13. Expires: 11 Jul 1993 01:08:01 GMT
  14. Message-ID: <csmc-FAQ1_739328881@darkstar.ucsc.edu>
  15. Reply-To: eric@cse.ucsc.edu
  16. NNTP-Posting-Host: oak.ucsc.edu
  17. Summary: This thread of four postings contains a list of Frequently Asked
  18.      Questions (with answers) for comp.sys.mac.comm. Anyone seeking
  19.      information about Macintosh telecommunications is encouraged to
  20.      read this FAQ before posting.
  21. Keywords: FAQ
  22. Originator: eric@oak
  23. Xref: senator-bedfellow.mit.edu comp.sys.mac.comm:24783 news.answers:9094 comp.answers:884
  24.  
  25. Archive-name: macintosh/comm-faq/part1
  26. Last-modified: Sat Jun 05 1993
  27.  
  28. This is the Frequently Asked Questions (FAQ) list for comp.sys.mac.comm
  29. =======================================================================
  30.  
  31. This list of frequently asked questions and answers is intended to help
  32. reduce the number of "often asked questions" that make the rounds here
  33. in comp.sys.mac.comm. Since comp.sys.mac.comm is intended as a forum to
  34. discuss telecommunication (and related issues) that are specific to the
  35. Macintosh, most questions about modems, telecommunications in general,
  36. and other non-Macintosh specific communication questions are not listed
  37. here. The proper newsgroup for such questions is usually comp.dcom.modems.
  38.  
  39. This list is posted periodically (about once a month) to the Usenet 
  40. groups comp.sys.mac.comm, news.answers, and comp.answers. The FAQ can be 
  41. retrieved via anonymous FTP from the following sites:
  42.  
  43.             Site                 Directory                File(s)   {Parts}
  44. ------------------------ ---------------------------- -------------------------
  45.  sumex-aim.stanford.edu        info-mac/report        comp-sys-mac-comm-faq.txt
  46.  rtfm.mit.edu           pub/usenet/comp.sys.mac.comm  c.s.m.c_FAQ_[1_4]...[4_4]
  47.  mac.archive.umich.edu     mac/misc/documentation       compsysmaccommfaq.txt
  48.  
  49. It also available in the Macintosh SIG on Delphi for Delphi members.
  50.  
  51. This FAQ is purely a volunteer effort. Although every effort has been
  52. made to insure that answers are as complete and accurate as possible,
  53. NO GUARANTEE IS IMPLIED OR INTENDED. The editor and contributors have
  54. developed this FAQ as a service to Usenet. We hope you find it useful.
  55. It has been formatted in setext format for your browsing convenience;
  56. use a setext browser, such as EasyView, to take advantage of setext.
  57.  
  58. Please send your corrections, questions, and comments to the editor, 
  59. Eric Rosen, at eric@cse.ucsc.edu.
  60.  
  61.              SHARE THIS INFORMATION FREELY AND IN GOOD FAITH.
  62.              DO NOT DISTRIBUTE MODIFIED VERSIONS OF THIS FAQ.
  63.                DO NOT REMOVE THIS NOTICE OR THE TEXT ABOVE.
  64.               (INCLUDING THE 'LastModified' HEADER; THANKS.)
  65.  
  66. ================================================================================
  67.  
  68.                           **** TABLE OF CONTENTS: ****
  69.  
  70. [1] Modems and Cables
  71.  
  72.         [1.1] What kind of modem will work with my Macintosh?
  73.         [1.2] What kind of cable do I need to use my external modem with my
  74.                   Macintosh? (Includes cable pinouts)
  75.         [1.3] What do V.32, V.42, bis, MNP, etc mean? 
  76.         [1.4] How fast can the Macintosh serial ports really go?
  77.         [1.5] How can I disable call-waiting when using my modem?
  78.  
  79. [2] File Formats and Conversion
  80.  
  81.         [2.1] What is a resource (or data) fork?
  82.         [2.2] What is MacBinary?
  83.         [2.3] What is BinHex? What is uuencode? What are atob/btoa ?
  84.         [2.4] What is Apple-Single/Double ?
  85.         [2.5] What do file suffixes like .hqx, .sit, .bin, etc ... mean
  86.                 and how can I convert such files back to normal Macintosh
  87.                 applications and documents?
  88.  
  89. [3] Macintosh File-transfers
  90.  
  91.         [3.1] What program(s) do(es) Kermit, FTP (client), and/or
  92.                 X,Y,Z-Modem and where can I get them?
  93.         [3.2] What is the latest version of ZTerm?
  94.         [3.3] What is the Communications Toolbox (CTB)?
  95.         [3.4] Are there any public-domain or shareware Communication
  96.                 Toolbox tools that support Kermit, and/or X,Y,Z-Modem?
  97.         [3.5] How can I transfer Macintosh files to/from my Macintosh and
  98.                 other non-Macintosh computers (eg: mainframes, UNIX boxes,
  99.                 PCs)?
  100.         [3.6] What's the best compression program to use when uploading
  101.               files to an archive or BBS? Are there any other guidelines
  102.               I should follow?
  103.         [3.7] How can I use the programs that are posted to
  104.                 comp.binaries.mac?
  105.  
  106. [4] Introduction to AppleTalk (and Remote AppleTalk)
  107.  
  108.         [4.1] What kind of hardware do I need to set up an LocalTalk
  109.                 network?
  110.         [4.2] How can I change the Chooser "user" and name of my
  111.                 Macintosh? Also: Why can I no longer change the name of
  112.                 my hard-disk?
  113.         [4.3] What is AppleTalk Remote Access ?
  114.         [4.4] Where can I get a Remote Access script for my modem? 
  115.  
  116. [5] Networking, MacTCP, Telnet, SLIP
  117.  
  118.         [5.1] What is MacTCP and what kind of hardware and software do I
  119.                 need to use it? 
  120.         [5.2] What is the difference between AppleTalk, LocalTalk,
  121.                 EtherNet, EtherTalk, TCP/IP, etc?
  122.         [5.3] What is Telnet, and is there a Telnet program for the
  123.                 Macintosh?
  124.         [5.4] Is there a FTP (server) program for the Macintosh?
  125.         [5.5] What are SLIP, CSLIP and PPP?
  126.         [5.6] How does MacTCP resolve names into IP addresses?
  127.  
  128.  
  129. [6] MacX and Other Ways to Interface With UNIX
  130.  
  131.         [6.1] Can I run X-Windows on my Mac?
  132.         [6.2] How can I run MacX over a modem? Is it feasible?
  133.         [6.3] What is MacLayers and what do I need to use it?
  134.         [6.4] What is UW and what do I need to use it?
  135.         [6.5] Is there a UNIX program that will convert between BinHex and
  136.                 MacBinary?
  137.         [6.6] How can I create LaserWriter PostScript printer files and
  138.                 print them on a PostScript printer connected to a UNIX
  139.                 network?
  140.  
  141. [7] Sending and receiving Mail and Usenet News with your Macintosh
  142.  
  143.         [7.1] How can I send/receive Internet mail with my Macintosh?
  144.         [7.2] How can I read/post Usenet news with my Macintosh?
  145.  
  146. [8] Miscellaneous
  147.  
  148.         [8.1] I don't have FTP --- How can I access the various archives
  149.                 through e-mail?
  150.  
  151. Appendix
  152.  
  153. [A]     List of Common File Suffixes and Abbreviations
  154.  
  155. [B]     List of Macintosh archive sites available through the Internet
  156.  
  157. [C]     Vendor Information
  158.  
  159. [D]     Contributors
  160.  
  161. ================================================================================
  162.  
  163. [1] Modems and Cables
  164. =====================
  165.  
  166. [1.1] What kind of modem will work with my Macintosh?
  167. -----------------------------------------------------
  168.  
  169.         Any *external* Hayes compatible modem will work with your
  170.         Macintosh. See comp.dcom.modems for more information about
  171.         the many different external Hayes compatible modems. Such
  172.         modems can be used with any computer (Macintosh, UNIX box,
  173.         MS-DOS PC, Amiga, etc) with a serial port (eg: Macintosh modem
  174.         port) interface. However, there are modems that are designed
  175.         specifically for use with the Macintosh. Internal Powerbook
  176.         modems, ADB modems, and internal NuBus modems are all examples.
  177.  
  178.         Assuming you wish to use an external modem, your only other
  179.         hardware consideration is to find an appropriate cable to connect
  180.         it to your Macintosh. Especially at higher baud rates (9600 baud
  181.         and up), a hardware-handshaking cable is recommended (see [1.2]
  182.         for details). There are many non-hardware-handshaking cables
  183.         being sold at reputable computer accessory stores, so it's
  184.         recommended that you ask before buying.
  185.  
  186.         Various special modems exist with unique features; the most
  187.         notable type is the dual FAX/modem. For more information,
  188.         visit comp.dcom.modems or your local dealer: there are simply
  189.         too many products to describe here.
  190.  
  191.  
  192. [1.2] What kind of cable do I need to use my external modem with my Macintosh?
  193. ------------------------------------------------------------------------------ 
  194.  
  195.         Most modems have a female DB-25 (25 pin) connector labelled
  196.         RS-232C on their backsides. All Macintoshes since the Mac Plus
  197.         use a mini DIN-8 (8 pin) connector for the two serial ports
  198.         (modem and printer). Earlier models use the larger DB-9 (9 pin)
  199.         connector. Finding a generic cable for any configuration should
  200.         not be very difficult at most computer accessory stores. They
  201.         are typically sold for around $25.
  202.  
  203.         However, especially at the higher baud rates (9600 baud and up),
  204.         a hardware handshaking cable is highly recommended. Attempting
  205.         to transfer files at high baud rates using a non-hardware-
  206.         handshaking cable will likely result in repeated transmission
  207.         errors, a drop in the transfer rate, and possibly an aborted
  208.         transmission. Since many non-hardware-handshaking cables are
  209.         still being sold, it's a good idea to ask before buying.
  210.  
  211.         If you want to "roll-your-own" or are having problems getting
  212.         your modem and your Macintosh to communicate, read on. The
  213.         serial ports on the Macintosh are not actually RS-232C ports
  214.         but are instead RS-422 compliant, a similar but better standard.
  215.         This explains some of the difficulty in implementing hardware-
  216.         handshaking.
  217.  
  218.         One way to wire your cable is as below:
  219.  
  220.                 Macintosh (DTE)                           Modem (DCE)
  221.                     DIN-8                                    DB-25
  222.  
  223.                 Pin  Signal                               Signal  Pin
  224.                  1    HSKo   ---------------------------   RTS     4
  225.                  2    HSKi   ---------------------------   CTS     5
  226.                  3    TxD-   ---------------------------   TxD     2
  227.                  4    GND    ---------------------------   GND     7
  228.                  5    RxD-   ---------------------------   RxD     3
  229.                  6    TxD+   (nc)                    .--   DSR     6
  230.                  7    GPi    (nc)                    '--   DTR    20 
  231.                  8    RxD+   ---------------------------   GND     7  
  232.  
  233.                     shield   ---------------------------   shield
  234.  
  235.                                 Figure 1.2.1
  236.  
  237.         If your modem cannot be configured to ignore DTR, or if you
  238.         are using an old 1200 baud or 2400 baud modem, the pinout in
  239.         Figure 1.2.1 is probably best. However, if you are using a
  240.         high-speed modem that can ignore DTR, and/or Remote AppleTalk,
  241.         you should instead use the pinout in Figure 1.2.2, which is
  242.         the pinout "recommended" by Apple:
  243.  
  244.                 Macintosh (DTE)                           Modem (DCE)
  245.                     DIN-8                                    DB-25
  246.  
  247.                 Pin  Signal                               Signal  Pin
  248.                  1    HSKo   ----------------------+----   RTS     4
  249.                                                    '----   DTR    20
  250.  
  251.                  2    HSKi   ---------------------------   CTS     5
  252.                  3    TxD-   ---------------------------   TxD     2
  253.  
  254.                  4    GND    ----+----------------------   GND     7
  255.                  8    RxD+   ----'
  256.  
  257.                  5    RxD-   ---------------------------   RxD     3
  258.                  6    TxD+   (nc)                    
  259.                  7    GPi    ---------------------------   DCD     8
  260.  
  261.                     shield   ---------------------------   shield
  262.  
  263.                                 Figure 1.2.2
  264.  
  265.         Note: You can find a pretty picture of this PICT by using 
  266.         ResEdit to open the 'Apple Modem Extension' CTB tool.
  267.  
  268.         Note: Be careful! Although technically, you should not be able
  269.         to damage either your modem or computer by using an incorrectly
  270.         wired cable, you should always perform a connectivity test to
  271.         double-check your wiring before using your homemade cable.
  272.         Some serial devices place auxiliary voltages on non-standard
  273.         pins.
  274.         
  275.         Note: If you are having trouble finding or soldering a mini DIN-8
  276.         connector (they can be expensive and are rather small), it is
  277.         suggested you purchase a straight-through DIN-8 to DIN-8 cable
  278.         (often sold for use with serial port switches), cut it in half,
  279.         and wire each end to a DB-25 connector that can plug into your
  280.         modem (resulting in *two* cables).
  281.  
  282.         Note: If you are running A/UX and are having difficulties
  283.         controlling your modem from software, see the comp.unix.aux FAQ
  284.         for the latest information on an A/UX specific cable.
  285.  
  286.  
  287.         Many people routinely ask for a pinout diagram for the mini DIN-8
  288.         connector; Figure 1.2.3 shows the pinout as if you were looking at
  289.         the (female) connector on your Macintosh; the (male) cable connector
  290.         will be a mirror image. (Figure artwork by Ben Cranston)
  291.  
  292.                      Mini DIN-8 Macintosh Serial Connector Pinout
  293.  
  294.                /------###------\         1 HSKo        Output Handshake
  295.              /        ###        \                      (Zilog 8530 DTR pin)
  296.            /                       \     2 HSKi/CLK    Input Handshake *OR*
  297.           /     [|]   [|]   [|]     \                   External Clock
  298.          /       8     7     6       \   3 TxD-        Transmit data (-)
  299.         |                             |
  300.         |                             |  4 Ground      Signal ground
  301.         |     ===       ===    ===    |
  302.         |      5         4      3     |  5 RxD-        Receive data (-)
  303.         |                             |
  304.         |                             |  6 TxD+        Transmit data (+)
  305.          \----+    ===   ===    +----/
  306.           \###|     2     1     |###/    7 N/C         (no connection)
  307.            \##|                 |##/
  308.              \|                 |/       8 RxD+        Receive data (+)
  309.                \------###------/
  310.                       ###
  311.  
  312.                                 Figure 1.2.3
  313.  
  314.          Finally, it should be noted that there is no *best* RS-422 to
  315.          RS-232 cable. You'll see many different wiring diagrams posted
  316.          to USENET. Each usually has its own purpose and champion; the
  317.          two given in this FAQ, however, are fairly generic and one or
  318.          the other should work with most modems being sold today.
  319.  
  320.  
  321. [1.3] What do V.32, V.42, bis, MNP, etc mean?
  322. ---------------------------------------------
  323.  
  324.         Because these topics are universal telecommunications issues,
  325.         they are more fully discussed in comp.dcom.modems. However, a
  326.         short description of some of the more common abbreviations and
  327.         buzzwords is given below.
  328.  
  329.         An excellent article on the subject of modems, including
  330.         a guide to buying high-speed modems, is available from
  331.         InfoMac (sumex-aim) and its mirror sites as the file
  332.         info-mac/report/modem-guide-10.txt.
  333.         
  334.            Buzzword         What it typically means
  335.         ---------------   ----------------------------------------------
  336.         bit             : binary digit; amount of information necessary
  337.                           to distinguish between two equally likely
  338.                           events (such as the value of a binary digit)
  339.         byte            : eight bits; size of a single ASCII character
  340.         bps             : bits per second
  341.         baud            : one analog signal state change; people usually
  342.                           use baud and bps interchangeable although most
  343.                           modern modems can encode multiple bits per baud
  344.         Bell 103        : 300 bps U.S. Standard
  345.         Bell 212A       : 1200 bps U.S. Standard
  346.         LAP/M           : Link Access Protocol/Modem.
  347.         MNP             : Microcom Networking Protocol (Proprietary)
  348.         MNP5            : MNP extension; 2 to 1 data compression.
  349.         V.32            : 9600bps, 4800bps
  350.         V.32bis         : 14.4Kbps, 12Kbps, 9600bps, 7200bps, 4800bps
  351.         V.42            : MNP 4 and LAP/M modem to modem error correction
  352.         V.42bis         : LAP/M and 4-to-1 data compression.
  353.  
  354.                              Table 1.3.1
  355.  
  356.  
  357. [1.4] How fast can the Macintosh serial ports really go?
  358. --------------------------------------------------------
  359.  
  360.         The Macintosh operating system supports data rates up to 57600 baud,
  361.         but the Macintosh serial hardware can support transfer rates that
  362.         are much higher if they are externally clocked. Serial port
  363.         sound-input-devices such as the Cedar Technologies SID and
  364.         Farallon's MacRecorder, as well as AppleTalk boxes, use this trick
  365.         to achieve transfer rates greater than 100 Kbps.
  366.         
  367.         Note: Powerbooks are known to have problems at extremely high
  368.         data rates. These problems are caused by Power Manager overhead.
  369.         System 7.1 is supposed to solve these problems.
  370.  
  371.         
  372. [1.5] How can I disable call-waiting when using my modem?
  373. ---------------------------------------------------------
  374.  
  375.         This varies depending on your local phone company, but often,
  376.         if you preced the phone number you wish to tone dial
  377.         with "*70," (omit the quotes but not the comma), you can
  378.         disable call-waiting FOR THAT CALL ONLY.
  379.         
  380.         If you have a strictly rotary dial line, try preceding the
  381.         phone number with "1170". 
  382.  
  383. ================================================================================
  384. [2] File Formats and Conversion
  385. ===============================
  386.  
  387. [2.1] What is a resource (or data) fork?
  388. ----------------------------------------
  389.  
  390.         A Macintosh file has two parts: a data fork and a resource fork.
  391.         Text files and GIF image files are examples of Macintosh files
  392.         that are usually stored completely in the data fork, and have
  393.         an empty (or nonexistent) resource fork. Applications, as a
  394.         a counter-example, store most if not all of their information
  395.         in 'resources' in the resource fork and usually have an empty
  396.         data fork.
  397.         
  398.         Because this two-forked organization of files isn't very common,
  399.         transferring Macintosh files that have non-empty resource forks
  400.         to non-Macintosh machines (such as UNIX boxes, or MS-DOS machines)
  401.         requires special encoding, described below.
  402.  
  403.  
  404. [2.2] What is MacBinary?
  405. ------------------------
  406.         MacBinary is a standard way of taking a Macintosh file (both
  407.         resource and data forks) and creating a new file with just
  408.         a data fork. This new file can then be transferred through
  409.         machines which know nothing about the native Macintosh file
  410.         system, without losing the information stored in the resource
  411.         fork.
  412.         
  413.         MacBinary also stores other information (such as the filename,
  414.         creation and modification dates, file type and creator) about
  415.         the original file.
  416.         
  417.         If you want to store some Macintosh files on a non-Macintosh
  418.         computer, one way is to convert them to a MacBinary format file
  419.         before transferring. Note that MacBinary files are useless to
  420.         people who are not using Macintosh computers. MacBinary's
  421.         purpose is to encapsulate *all* information contained in a
  422.         Macintosh file for transport over a non-Macintosh medium. For
  423.         this reason, you should not use MacBinary and/or BinHex to
  424.         post GIF images, for example, to Usenet because (1) GIF images
  425.         contain no Macintosh specific information and (2) doing so will
  426.         make it impossible for most non-Macintosh users to display your
  427.         image.
  428.  
  429.         Although a Macintosh program (called MacBinary) does exist
  430.         to do the converting to and from MacBinary, almost all modern
  431.         Macintosh telecommunications programs have the capability of
  432.         converting and unconverting MacBinary files for you. ZTerm,
  433.         for example, can be configured to automatically detect when
  434.         a MacBinary file is being received and to convert this file
  435.         to its original representation; or, if you are uploading,
  436.         ZTerm can optionally encode the file into MacBinary before
  437.         sending. Fetch, White Knight, and most other commercial and
  438.         shareware products have equivalent or similar capabilities.
  439.         
  440.         Dennis Brothers designed the original MacBinary standard many
  441.         years ago. Yves Lempereur incorporated this standard into
  442.         his Binhex 4.0 program (see [2.3]), solving a major problem
  443.         on Compuserve. About a year later, around the time the Mac Plus
  444.         came out, group discussions on Compuserve led to an enhancement
  445.         of the original MacBinary standard. Since then, BinHex 4.0 and
  446.         the new MacBinary have become the standard way of encapsulating
  447.         Macintosh files for transferring over foreign systems throughout
  448.         the Internet, Usenet, and elsewhere.
  449.  
  450.         MacBinary I is the name given to the old MacBinary standard.
  451.         MacBinary II is the name given to the new MacBinary standard
  452.         which everybody uses today; in common usage, MacBinary means
  453.         MacBinary II.
  454.         
  455.         
  456. [2.3] (a) What is BinHex? (b) What is uuencode? (c) What are atob/btoa ?
  457. ------------------------------------------------------------------------
  458.  
  459.         (a) A "binary" file is usually intended to describe a file which
  460.         does not always have the high bit in each byte set to zero.
  461.         Text and BinHex files are the most common examples of non-binary
  462.         data. Programs and images are common examples of binary data.
  463.         MacBinary files are specially encoded binary files (see 2.2]).
  464.         
  465.         Unfortunately, many network e-mail and Usenet gateways are only
  466.         receptive to non-binary files. To make it possible to send
  467.         binary files such as Macintosh MacBinary files through e-mail
  468.         or Usenet, it is necessary to convert these files to a text-
  469.         compatible form. BinHex and uuencode are two different ways
  470.         of doing this. Both BinHex and uuencode result in files that
  471.         are larger than the original binary version.
  472.                 
  473.         BinHex 4.0, by Yves Lempereur, is a binary to text translator
  474.         that can directly encode any Macintosh document (ie: it knows
  475.         how to convert information in both the resource and data forks).
  476.         BinHex files can be easily recognized since they begin with the
  477.         line:
  478.         
  479.                 (This file must be converted with BinHex 4.0)
  480.         
  481.         and are followed by a line starting with a colon, ':'. The
  482.         BinHex encoding of the file follows, and is ended with another
  483.         colon.
  484.         
  485.         There is in fact a program called "BinHex 4.0" in various
  486.         archives, but you don't have to use it to convert files to and
  487.         from BinHex. In fact, due to some bugs, it's best to use some
  488.         of the other more powerful utilities, such as HQXer, DeHqx,
  489.         StuffIt Expander and other StuffIt programs, and Compact Pro,
  490.         to name only a few. UNIX utilities (see [6.5]) that manipulate 
  491.         BinHex, MacBinary, and other types of Macintosh files are also 
  492.         available. StuffIt Expander has the advantage of also being able 
  493.         to automatically expand StuffIt, Compact Pro, and Applelink 
  494.         archives.
  495.  
  496.         Just about every Macintosh program posted appears as a BinHex
  497.         archive. Some Macintosh archives also store their files in BinHex
  498.         to allow users who don't have (or forget to use) binary mode in
  499.         FTP to succesfully transfer files. 
  500.  
  501.         BinHex files are denoted by the suffix ".hqx". The specifications
  502.         to BinHex, should you be an interested programmer, are available
  503.         at the University of Michigan's Macintosh archive site as
  504.         mac/misc/documentation/binhex4.0specs.txt, or at InfoMac sites 
  505.         as dev/info/binhex-40-specs.txt .
  506.  
  507.         There is also a program/format called "BinHex 5.0"; it is NOT
  508.         a more advanced version of "BinHex 4.0" but rather a separate
  509.         _binary_ format (it uses the entire eight-bit ASCII character
  510.         set and is thus not suitable for news postings or e-mail)
  511.         that was the precursor to MacBinary (see [2.2]). Converting
  512.         a file with BinHex 5.0 and then using BinHex 4.0 is another way
  513.         of converting a native Macintosh files with data and resource
  514.         forks into a format that can be e-mailed or posted (and then
  515.         reconstructed). MacBinary, however, is almost always used in
  516.         preference to BinHex 5.0.
  517.  
  518.         (b) "uuencode" is a binary to text translator that serves the
  519.         same purpose as BinHex, except that it knows nothing about the
  520.         Macintosh resource/data fork structure. uuencode was designed to
  521.         allow UNIX binary files to be easily transferred through text-
  522.         only interfaces, such as e-mail. Every uuencoded file contains
  523.         a line similar to:
  524.         
  525.                 begin 644 usa-map.gif
  526.                 
  527.         followed by a series of lines of ASCII text characters (which
  528.         are normally 60 characters long and begin with the letter 'M'). 
  529.         The file ends with a line containing the word 'end'. There may 
  530.         be other special keywords included.  Usually, one won't find 
  531.         Macintosh files in uuencode format; however, most non-Macintosh 
  532.         specific binary data posted to Usenet is uuencoded, so if you 
  533.         wish to use any of this data (such as the images posted in 
  534.         alt.binaries.* and elsewhere), you will need to deal with 
  535.         uuencode. The programs 'uuencode' and 'uudecode' exist on most 
  536.         UNIX systems. If not, ask a local expert to find them. Several 
  537.         programs allow you to convert to and from uuencode using your 
  538.         Macintosh; among these are UULite 1.4 and Tiger 1.11.  uuencoded 
  539.         files are usually denoted by the suffix ".uu".
  540.  
  541.         There is a StuffIt translator to handle uuencode conversion.
  542.         
  543.         (c) atob and btoa are programs typically found on UNIX systems
  544.         that also convert between binary and ASCII-printable character
  545.         sets. Although not as popular as uuencode, btoa produces smaller
  546.         text-compatible versions of binary files that can be e-mailed or
  547.         posted on Usenet. Check your local man pages for details.
  548.         
  549.         There are StuffIt translators to handle atob/btoa conversion.
  550.  
  551.         
  552. [2.4] What is Apple-Single/Double ?
  553. -----------------------------------
  554.         
  555.         AppleDouble is another means of storing Macintosh files on
  556.         non-Macintosh computers or filesystems, particularly on UNIX
  557.         filesystems that also allow files to be mounted under the
  558.         Macintosh operating system via AppleShare (or an equivalent
  559.         product).
  560.  
  561.         AppleDouble files are actually two files. The data fork
  562.         of the corresponding Macintosh file is stored in a single
  563.         file just as it exists on the Macintosh using the original
  564.         filename. The resource fork is stored in a second file whose
  565.         name is obtained by prefixing the original filename with '%'.
  566.         More extensive documentation is available at ftp.apple.com.
  567.         
  568.         A few Macintosh programs decode these files; one such utility
  569.         is Tiger 1.11. The macutils UNIX utilities [see 6.5] may also
  570.         be useful.
  571.         
  572.         If you are trying to figure out how to access the files in
  573.         the 'mac.bin' directory at ftp-archive maintained by the
  574.         University of Michigan, don't bother; all those files exist
  575.         in .hqx format in the 'mac' directory.
  576.  
  577.         
  578. [2.5] What do file suffixes like .hqx, .sit, .bin, etc ... mean and how
  579. -----------------------------------------------------------------------
  580.         can I convert such files back to normal Macintosh applications
  581.         and documents?
  582.         
  583.         Most files available by FTP or posted to Usenet are modified
  584.         twice to allow them to more easily pass through foreign computer
  585.         systems. Files may be compressed to make them smaller, and/or
  586.         they are almost always translated to either BinHex (.hqx) or
  587.         MacBinary (.bin) format (see [2.2] and [2.3] for an explanation
  588.         of these formats).
  589.         
  590.         How a Macintosh file has been translated and compressed for
  591.         transmission is indicated by its suffix.  Normally a file will
  592.         have a name similar in form to: filename.xxx.yyy, where:
  593.         
  594.                 .xxx indicates how it was compressed
  595.                 .yyy indicates how it was translated
  596.         
  597.         Usually, .xxx is one of: .cpt, .dd, .sea, .sit
  598.         Usually, .yyy is one of: .bin, .hqx, .image
  599.         
  600.         To convert a file back to its native Macintosh format, you will
  601.         typically need to go through one step per suffix. For example,
  602.         the filename "Swatch.cpt.hqx" indicates that a Compact Pro
  603.         archive (.cpt) "Swatch" has been translated to BinHex (.hqx).
  604.         To recreate the file(s) in the original archive, you must
  605.         first 'undo' the BinHex transformation, creating a Compact Pro
  606.         archive, and then open the Compact Pro archive and extract
  607.         the file(s) in the archive.
  608.  
  609.         You can use the following table to determine what Macintosh
  610.         programs decode which formats. For a more complete description
  611.         of the various Macintosh archival programs, see the excellent
  612.         FAQ for comp.sys.mac.apps.
  613.  
  614.       Suffix: .sit  .cpt  .hqx  .bin  .pit  .Z  .image  .dd  .zip  .uu  .tar
  615.   Extractors
  616. ----------------------------------------------------------------------------
  617.  StuffIt 3.0  | X     X     X     X     X    X           X     !    !     !
  618.  $ Expander   | X     X     X
  619.  Compact Pro  | *     X     X
  620.  UULite 1.4   |                                                     X
  621.  MacCompress  |                              X
  622.  SunTar       |             X     X     X                                 X
  623.  BinHex 5.0   |                   X
  624.  BinHex 4.0   |             X
  625.  DiskDoubler  | *                       X                X
  626.  UnZip        |                                                X
  627.  DiskCopy     |                                    X
  628.  Packit       |                         X
  629.  
  630.                                 Table 2.5.1
  631.  
  632.       ! Note: StuffIt Deluxe 3.0.3 includes translators for .tar, .uu,
  633.         MacBinary, atob, btoa, AppleLink packages, AppleSingle, DiskDoubler,
  634.         and UNIX compress. These translators can also be used with StuffIt
  635.         Lite. .arc and .zip translators are also distributed with StuffIt
  636.         Deluxe, but remain part of the commercial package.
  637.       
  638.       $ 'Expander' refers to Stuffit Expander 3.0.1 which can decode BinHex,
  639.         Stuffit, Compact Pro, and Applelink archives. It supports drag-
  640.         and-drop under System 7. Stuffit Expander is distributed free by
  641.         Aladdin Systems Inc. 
  642.  
  643.       * Most, but not all, of the various StuffIt formats are recognized.
  644.  
  645.  
  646.         The following file suffixes indicate formats that are native
  647.         to the Macintosh and which can be manipulated using the indicated
  648.         programs:
  649.         
  650.         .bin    MacBinary files; see [2.2]
  651.         .cpt    Compact Pro archive files; [see 3.6]
  652.         .dd     DiskDoubler archive files; [see 3.6]
  653.         .hqx    BinHex files; see [2.3], [3.7]
  654.         .image  Apple DiskCopy disk image file (typically used for
  655.                 distributing system software); latest version available
  656.                 via anonymous ftp from ftp.apple.com
  657.         .pit    Packit files; [see 3.6]
  658.         .sea    Self-extracting archive files; this usually denote an
  659.                 application which can be double-clicked upon to create
  660.                 a decompressed version of the archive
  661.         .sit    StuffIt archive files; [see 3.6]
  662.         .sitd   mistakenly used to indicate files created by StuffIt
  663.                 Deluxe; *all* StuffIt files should be given the .sit
  664.                 extension (says the author!)
  665.         
  666.                                 Table 2.5.2
  667.  
  668.         
  669.         The following file suffixes indicate formats that are not native
  670.         to the Macintosh, but in most cases, files of these types can
  671.         be manipulated on the Macintosh using the indicated programs.
  672.         
  673.         .arc    MS-DOS PC archive file; ArcPop, MacArc
  674.         .arj    MS-DOS PC archive file; unArjMac
  675.         .gif    Compuserve Graphics Interchange File; many programs,
  676.                 free, shareware and commercial exist to display and/or
  677.                 modify these images; some of the popular shareware ones
  678.                 are: QuickGIF and GIFConverter.
  679.         .lzh    MS-DOS PC archive file; LHarc or MacLHa
  680.         .shar   UNIX shell archive file; Unshar 1.5
  681.         .uu     UNIX uuencoded files; see [2.3]
  682.         .Z      UNIX 'compress' archive file; MacCompress 3.2
  683.         .zip    MS-DOS PC archive file; UnZip, ZipPop
  684.  
  685.                                 Table 2.5.3
  686.